<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <script src="./js/jquery-3.6.0.js"></script>
</head>
<body>
    <p>Hello </p>

    <p>你好，这是一个段落。<span>我是一个span元素</span>，我是段落文本。</p>

    <script>
        $('p').append("<b>jQuery</b>");

        let $span = $('span');
        $span.remove();
        console.log($span);
        $('p').append($span);
    </script>
</body>
</html>